package com.app.yourradioapp593.utils;

import android.graphics.Bitmap;

import com.app.yourradioapp593.models.Radio;
import com.solodroid.android.exoplayer2.SimpleExoPlayer;

import java.io.Serializable;
import java.util.ArrayList;

public class Constant implements Serializable {

    public static final String USER_AGENT = "Mozilla/5.0 (Linux; U; Android 4.0.3; ko-kr; LG-L160L Build/IML74K) AppleWebkit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30";

    public static final int IMMEDIATE_APP_UPDATE_REQ_CODE = 124;
    //private static final long serialVersionUID = 1L;
    public static final int PERMISSIONS_REQUEST = 102;
    public static final String LOCALHOST_ADDRESS = "http://10.0.2.2";
    public static final int DELAY_SPLASH = 500;
    public static final int DELAY_PROGRESS = 100;
    public static final int DELAY_CLICK = 150;
    public static final int DELAY_ACTION_CLICK = 250;
    public static final int WAITING_TIME_NEXT_ITEM_CLICK = 1000;

    public static String metadata;
    public static String albumArt;
    public static SimpleExoPlayer exoPlayer;
    public static Boolean is_playing = false;
    public static Boolean radio_type = true;
    public static Boolean is_app_open = false;
    public static ArrayList<Radio> item_radio = new ArrayList<>();
    public static int position = 0;
    public static String CURRENT_ID = "";
    public static Bitmap colorBitmap;
    public static Boolean isPlayerExpanded = false;

    public static Boolean progressVisibility = false;

    public static final int MAX_NUMBER_OF_NATIVE_AD_DISPLAYED = 50;

    public static final int THEME_LIGHT = 0;
    public static final int THEME_DARK = 1;
    public static final int THEME_PRIMARY = 2;
//    public static boolean isAppOpen = false;

    public static boolean isForeground;
    public static boolean isPausedFromClick = false;

    public static boolean isRadioPlaying = false;

}